package bean.circular.dependency.setter;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Author com.alibaba.lizhen
 * @Date 2021/4/9 7:14 下午
 * @Version 1.0
 * @Description
 */
public class B {

	@Autowired
	private A a;

	public B() {
		System.out.println("B 实例化了");
	}

	public A getA() {
		return a;
	}
	public void setA(A a) {
		System.out.println("setA");
		this.a = a;
	}
}
